﻿@model DataAccess.Caso
@{
    var galeria = ViewBag.galeria as List<DataAccess.CasoRotativo>;      
}
<div id="caso_slide_tab_overlay">
</div>
<div class="slider2">
    @foreach (var imagen in galeria)
    {
        <img src="@Url.Action("GetImagen", "Image", new { idImagen = imagen.IdImagen })" width="980" height="454" alt="Slide"/>
    }
</div>
<div class="pagination2_wrapper">
    <ul class="pagination2">
        <li>
            <img src="@Url.Content("~/Content/Images/Slider/arrow-prev.png")" width="24" height="24" alt="Pause" id="2arrow_prev" class="arrow2"/>
        </li>
        @for (int i = 0; i < galeria.Count; i++)
        {
            if (i == 0)
            {
            <li class="current pagination2_circle first"><a>@i</a></li>
            }
            else
            {
            <li class="pagination2_circle"><a>@i</a></li>                                
            }
        }
        <li>
            <img src="@Url.Content("~/Content/Images/Slider/arrow-next.png")" width="24" height="24" alt="Pause" id="2arrow_next" class="arrow2"/>
        </li>
    </ul>
</div>
<div class="slide_out_wrapper2">
    <div id="caso_info">
        <!--<p class="caso_title caso_title_first">Briefing</p>
        <p class="caso_desc" id="caso_briefing">Praesent nec ipsum nec magna commodo dapibus. Donec et luctus enim. Pellentesque sed sem risus, nec cursus erat. Nullam purus diam, egestas quis tristique... fermentum ut ligula. Suspendisse faucibus, purus et rhoncus facilisis.</p>
        <p class="caso_title">Soluci&oacute;n</p>
        <p class="caso_desc" id="caso_solucion">Praesent nec ipsum nec magna commodo dapibus. Donec et luctus enim. Pellentesque sed sem risus, nec cursus erat. Nullam purus diam, egestas quis tristique... fermentum ut ligula. Suspendisse faucibus, purus et rhoncus facilisis.</p>
        <p class="caso_title">Resultados</p>
        <p class="caso_desc" id="caso_resultados">Praesent nec ipsum nec magna commodo dapibus. Donec et luctus enim. Pellentesque sed sem risus, nec cursus erat. Nullam purus diam, egestas quis tristique.</p>-->
        @Html.Raw(Model.Descripcion)
    </div>
    <div class="handle_wrapper2">
        <a class="handle2" href="#">Detalles del Proyecto</a>
    </div>
</div>
